<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <title>基金表</title>
  <link rel="stylesheet" href="../static/layui/css/layui.css?t=1574611511008" media="all">
  <link rel="stylesheet" href="../static/css/util.css" media="all">
  <link rel="stylesheet" href="../ChangshaFund/src/main/webapp/static/css/common.css" media="all">
  <script src="../static/layui/layui.js?t=1574611511008"></script>
  <script type="text/javascript" src="../static/js/jquery-1.12.4.min.js"></script>
  <script type="text/javascript" src="../static/js/sys/Fund/Fund.js"></script>
  <style>    
    body{margin: 10px;}
    .demo-carousel{height: 200px; line-height: 200px; text-align: center;}
  </style>
</head>
<body>
<script type="text/html" id="barDemo">
  <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">添加</a>
  <a class="layui-btn layui-btn-xs" lay-event="edit">修改</a>
  <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>

 <div id="search-header">
		  <form id="ExchangeForm" lay-filter="ExchangeForm"
			class="layui-form">
		      <div class="layui-form-item">
		        <div class="layui-inline">
		          <label class="layui-form-label">基金名</label>
		          <div class="layui-input-inline">
		            <input type="text" name="fundName" placeholder="请输入基金名" autocomplete="off" class="layui-input">
		          </div>
		        </div>
		        <div class="layui-inline">
		          <label class="layui-form-label">管理人名</label>
		          <div class="layui-input-inline">
		            <input type="text" name="custodianName" placeholder="请输入管理人名" autocomplete="off" class="layui-input">
		          </div>
		        </div>
		        <div class="layui-inline">
		          <label class="layui-form-label">管理人Id</label>
		          <div class="layui-input-inline">
		            <input type="text" name="custodianId" placeholder="请输入管理人Id" autocomplete="off" class="layui-input">
		          </div>
		        </div>
		        <div class="layui-inline">
		          <label class="layui-form-label">托管人Id</label>
		          <div class="layui-input-inline">
		            <input type="text" name="trusteeId" placeholder="请输入托管人Id" autocomplete="off" class="layui-input">
		          </div>
		        </div>
		        <div class="layui-inline">
		          <label class="layui-form-label">托管人名</label>
		          <div class="layui-input-inline">
		            <input type="text" name="trusteeName" placeholder="请输入托管人名" autocomplete="off" class="layui-input">
		          </div>
		        </div>
		        <div class="layui-inline">
		          <label class="layui-form-label">管理费率</label>
		         <div class="layui-input-inline">
		            <input type="text" name="managementFee" placeholder="请输入管理费率" autocomplete="off" class="layui-input">
		          </div>
		        </div>
		        <div class="layui-inline">
		          <label class="layui-form-label"></label>
		           <div class="layui-input-inline">
		            <button class="layui-btn" lay-submit="" lay-filter="exchangeSearchBtn">
		            	<i class="layui-icon layui-icon-search"></i>
		            	查询
		            </button>
		            <button class="layui-btn" type="reset">
		            	<i class="layui-icon layui-icon-refresh"></i>
		            	重置
		            </button>
		          </div>
		        </div>
		      </div>
	      </form>
	    </div>
<table class="layui-hide" id="ExchangeTable" lay-filter="ExchangeTable"></table>
 

<div id="addExchangeModal" class="definedModal">
		<!-- 这里手动加表单样式 -->
		<form id="addExchangeForm" lay-filter="addExchangeForm"
			class="layui-form">
			<div class="layui-form-item">
				<label class="layui-form-label">基金代码</label>
				<div class="layui-input-block">
					<input type="text" name="fundNo" lay-verify="required"
						placeholder="请输入基金代码" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">基金名</label>
				<div class="layui-input-block">
					<input type="text" name="fundName" lay-verify="required"
						placeholder="请输入基金名" autocomplete="off" class="layui-input">
				</div>
			</div>
			
			<div class="layui-form-item">
				<label class="layui-form-label">管理人Id</label>
				<div class="layui-input-block">
					<input type="text" name="custodianId" lay-verify="required" id="custodianId"  readonly="true"
						placeholder="请输入管理人Id" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">管理人名</label>
				<div class="layui-input-block">
						<select id="custodianName" name="custodianName" lay-verify="custodianName" lay-filter="custodianName"
						autocomplete="off" >
							<option value = "null">请选择管理人名</option>
						</select>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">托管人Id</label>
				<div class="layui-input-block">
					<input type="text" name="trusteeId" lay-verify="required"  readonly="true" id = "trusteeId"
						placeholder="请输入托管人Id" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">托管人名</label>
				<div class="layui-input-block">
					<select id="trusteeName" name="trusteeName" lay-verify="required" lay-filter="trusteeName"
						autocomplete="off">
							<option value = "null">请选择托管人名</option>
						</select>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">管理费率</label>
				<div class="layui-input-block">
					<input type="text" name="managementFee" lay-verify="required"
						placeholder="请输入管理费率" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">托管费率</label>
				<div class="layui-input-block">
					<input type="text" name="hostingFees" lay-verify="required"
						placeholder="请输入托管费率" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">基金类型</label>
				<div class="layui-input-block">
					<input type="text" name="fundType" lay-verify="required"
						placeholder="请输入基金类型" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">基金规模</label>
				<div class="layui-input-block">
					<input type="text" name="fundScale" lay-verify="required"
						placeholder="请输入基金规模" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">净值</label>
				<div class="layui-input-block">
					<input type="text" name="IOPV" lay-verify="required"
						placeholder="请输入" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">计费有效天数</label>
				<div class="layui-input-block">
					<input type="text" name="billingDays" lay-verify="required"
						placeholder="请输入计费有效天数" autocomplete="off" class="layui-input">
				</div>
			</div>
			
			<div class="layui-form-item">
				<label class="layui-form-label">注册时的账号</label>
				<div class="layui-input-block">
					<select id="accountId" name="accountId" lay-verify="accountId" lay-filter="accountId"
						autocomplete="off" >
							<option value = "null">请输入注册时的账号</option>
						</select>
				</div>
			</div>
				
			<div class="layui-form-item">
				<div class="layui-input-block">
					<button type="button" class="layui-btn" id="addExchange" lay-submit="addExchange"
						lay-filter="addExchange">立即提交</button>
					<button type="button" class="layui-btn modalClose">关闭</button>
				</div>
			</div>
		</form>
	</div>
	<!-- 修改模态框 -->
	<div id="updateExchangeModal" class="definedModal">
		<!-- 这里手动加表单样式 -->
		<form id="updateExchangeForm" lay-filter="updateExchangeForm"
			class="layui-form">
			<input type="hidden" name="_method" value="PUT">
			<input type="hidden" name="fundId">
						<div class="layui-form-item">
				<label class="layui-form-label">基金代码</label>
				<div class="layui-input-block">
					<input type="text" name="fundNo" lay-verify="required"
						placeholder="请输入基金代码" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">基金名</label>
				<div class="layui-input-block">
					<input type="text" name="fundName" lay-verify="required"
						placeholder="请输入基金名" autocomplete="off" class="layui-input">
				</div>
			</div>
			
			<div class="layui-form-item">
				<label class="layui-form-label">管理人Id</label>
				<div class="layui-input-block">
					<input type="text" name="updateCustodianId" lay-verify="required"  readonly="true"  id="updateCustodianId"
						placeholder="请输入管理人Id" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">管理人名</label>
				<div class="layui-input-block">
					<select id="updateCustodianName" name="custodianName" lay-verify="updateCustodianName" lay-filter="updateCustodianName"
						autocomplete="off" >
							<option value = "null">请选择管理人名</option>
						</select>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">托管人Id</label>
				<div class="layui-input-block">
					<input type="text" name="trusteeId" lay-verify="required"  readonly="true" id = "trusteeId"
						placeholder="请输入托管人Id" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">托管人名</label>
				<div class="layui-input-block">
					<select id="updatetrusteeName" name="trusteeName" lay-verify="required" lay-filter="updatetrusteeName"
						autocomplete="off">
							<option value = "null">请选择托管人名</option>
					</select>
						
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">管理费率</label>
				<div class="layui-input-block">
					<input type="text" name="managementFee" lay-verify="required"
						placeholder="请输入管理费率" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">托管费率</label>
				<div class="layui-input-block">
					<input type="text" name="hostingFees" lay-verify="required"
						placeholder="请输入托管费率" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">基金类型</label>
				<div class="layui-input-block">
					<input type="text" name="fundType" lay-verify="required"
						placeholder="请输入基金类型" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">基金规模</label>
				<div class="layui-input-block">
					<input type="text" name="fundScale" lay-verify="required"
						placeholder="请输入基金规模" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">净值</label>
				<div class="layui-input-block">
					<input type="text" name="IOPV" lay-verify="required"
						placeholder="请输入" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">计费有效天数</label>
				<div class="layui-input-block">
					<input type="text" name="billingDays" lay-verify="required"
						placeholder="请输入计费有效天数" autocomplete="off" class="layui-input">
				</div>
			</div>
			
			<div class="layui-form-item">
				<label class="layui-form-label">注册时的账号</label>
				<div class="layui-input-block">
					<select id="updateAccountId" name="accountId" lay-verify="accountId" lay-filter="accountId"
						autocomplete="off" >
							<option value = "null">请输入注册时的账号</option>
						</select>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-input-block">
					<button id="updateExchangeBtn" type="button" class="layui-btn" lay-submit="" 
						lay-filter="updateExchangeBtn">立即提交</button>
					<button type="button" class="layui-btn modalClose">关闭</button>
				</div>
			</div>
		</form>
	</div>
</body>
</html>        
        